package com.rdxer.core.utils.search;

public class WhereUnit{
    private String key;
    private WhereOperator operator;
    private Object value;

//    public WhereUnit(String key, Object value) {
//        this.key = key;
//        this.value = value;
//        if (value instanceof String) {
//            operator = SearchUtils.checkOperator((String) value);
//        }
//    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public WhereOperator getOperator() {
        return operator;
    }

    public void setOperator(WhereOperator operator) {
        this.operator = operator;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

}